package com.example.demo.pojo;

/**
 * 用户
 */
public class User {

    private int reader_id;
    private String name;
    private String stunum;
    private String password;
    private String phone;
    private int user_state;//0-超管,1-管理员,2-读者
    private int state; //1-正常,2暂停,3-挂失,4-注销

    @Override
    public String toString() {
        return "User{" +
                "reader_id=" + reader_id +
                ", name='" + name + '\'' +
                ", stunum='" + stunum + '\'' +
                ", password='" + password + '\'' +
                ", phone='" + phone + '\'' +
                ", user_state=" + user_state +
                ", state=" + state +
                '}';
    }

    public int getReader_id() {
        return reader_id;
    }

    public void setReader_id(int reader_id) {
        this.reader_id = reader_id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getStunum() {
        return stunum;
    }

    public void setStunum(String stunum) {
        this.stunum = stunum;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public int getUser_state() {
        return user_state;
    }

    public void setUser_state(int user_state) {
        this.user_state = user_state;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }
}
